<!--{eval $_TPL['titles'] = array($thread['subject'], $mtag['tagname'], $mtag['title'], '话题');}-->
<!--{eval $_TPL['nosidebar']=1;}-->
<!--{template header}-->
<link href="template/voone/quan.css" rel="stylesheet" type="text/css" />

<DIV class="bodybox">
<!--{template m_header}-->

<div class="tabs_header" style="border-bottom:1px dashed #333; height:25px">
<div class="r_option">
<a href="cp.php?ac=share&type=mtag&id=$mtag[tagid]" id="a_share" class="a_share" onclick="ajaxmenu(event, this.id, 1)">分享</a>
<a href="admincp.php?ac=mtag&tagid=$mtag[tagid]" target="_blank">管理</a>
	<a href="cp.php?ac=common&op=report&idtype=tagid&id=$mtag[tagid]" id="a_report" onclick="ajaxmenu(event, this.id, 1)">举报</a>
	</div>	
	
	<ul class="groupmenu">
  <li><a href="space.php?do=mtag&tagid=$mtag[tagid]"><span>首页</span></a> </li>
 
<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=list"><span>讨论区</span></a></li>
<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=digest"><span>精华区</span></a></li>
		<!--{if $eventnum}-->
<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=event"><span>群组活动</span></a></li>
		<!--{/if}-->
<li><a href="space.php?do=mtag&tagid=$mtag[tagid]&view=member"><span>成员列表</span></a></li>  
<!--{if $eventid}-->
		<li class="active"><a href="space.php?do=event&id=$eventid&view=thread"><span>返回讨论区</span></a></li>
		<!--{else}-->
		<li class="active"><a href="space.php?do=mtag&tagid=$thread[tagid]&view=list"><span>返回讨论区</span></a></li>
		<!--{/if}-->
</LI>
</UL>
</div>
<DIV class="groupbbsbox">
<DIV class="groupbbshead">
<DIV class="bbscontenttit">
	<!--{if $eventid}-->	
	活动
	<!--{else}-->
	话题
	<!--{/if}-->
&gt; <FONT 
color=#000000>$thread[subject]</FONT></DIV>
<DIV class="groupbbsbar">
<UL>
  <!--{if $mtag[allowpost]}-->
  <LI><a href="#postform"><IMG src="template/voone/image/button_response.gif"></A> </LI><!--{/if}--> 
<!--{if empty($mtag['ismember']) && $mtag['joinperm'] < 2}-->

		<!--{elseif $mtag['allowpost']}-->
		<li><a href="cp.php?ac=thread&tagid=$mtag[tagid]"><IMG src="template/voone/image/button_newtopic.gif"></a></li>
		<!--{/if}-->


</UL>
</DIV>


</DIV>	
<div id="div_post">
<div id="post_$thread[content][pid]_li">	
<DIV class="groupm_titli">
<DIV class="rbtop">
<DIV></DIV></DIV>
<DIV class="rbcontent">
<DIV class="groupbbstithead">
<DIV class="bbsheadbox"><!--{avatar($thread[uid],small)}--></DIV>
<DL>

  <DT class="font_black"><a href="space.php?uid=$thread[uid]">{$_SN[$thread[uid]]}</a></DT>
 <DD class="font_gray"><!--{if $thread[hot]}--><span class="hot"><em>热</em>$thread[hot]</span><!--{else}-->楼主<!--{/if}--></DD>

  </DL>
    <!--{if $thread[content]}-->
<DIV class="bbscontentbar" style="width:440px"  id="post_$thread[content][pid]_li"> 

<DD class="font_gray">
<!--{if $thread[uid]==$_SGLOBAL[supe_uid]}-->
							<!--{if $_SGLOBAL[magic][icon]}-->
							<img src="image/magic/icon.small.gif" class="magicicon">
							<a href="magic.php?mid=icon&idtype=tid&id=$thread[tid]" id="a_magic_icon" onclick="ajaxmenu(event,this.id,1)">{$_SGLOBAL[magic][icon]}</a>							
							<span class="pipe">|</span>
							<!--{/if}-->
							<!--{if $_SGLOBAL[magic][icon]}-->
							<img src="image/magic/color.small.gif" class="magicicon">
								<!--{if $thread[magiccolor]}-->
							<a href="cp.php?ac=magic&op=cancelcolor&idtype=tid&id=$thread[tid]" id="a_magic_color" onclick="ajaxmenu(event,this.id)">取消{$_SGLOBAL[magic][color]}</a>
								<!--{else}-->
							<a href="magic.php?mid=color&idtype=tid&id=$thread[tid]" id="a_magic_color" onclick="ajaxmenu(event,this.id,1)">{$_SGLOBAL[magic][color]}</a>
								<!--{/if}-->
							<span class="pipe">|</span>
							<!--{/if}-->
						<!--{/if}-->
<!--{if $thread[uid]==$_SGLOBAL[supe_uid] || checkperm('managethread')}-->
						<a href="cp.php?ac=topic&op=join&id=$thread[tid]&idtype=tid" id="a_topicjoin_$thread[tid]" onclick="ajaxmenu(event, this.id)">凑热闹</a>
						<!--{/if}-->
						<!--{if checkperm('managethread')}-->
						<a href="cp.php?ac=thread&tid=$thread[tid]&op=edithot" id="a_hot_$thread[tid]" onclick="ajaxmenu(event, this.id)">热度</a><span class="pipe">|</span>
						<!--{/if}-->
<!--{if $thread[uid]==$_SGLOBAL[supe_uid]}-->
<a href="cp.php?ac=thread&op=edit&pid=$thread[content][pid]&tagid=$thread[tagid]">编辑</a>
								<!--{/if}-->
								<!--{if $mtag[grade]>=8 || $thread[uid]==$_SGLOBAL[supe_uid]}-->
<a href="cp.php?ac=thread&op=delete&pid=$thread[content][pid]&tagid=$thread[tagid]" id="p_$thread[content][pid]_delete" onclick="ajaxmenu(event, this.id, 99999)">删除</a>
									<!--{/if}-->
								<!--{if $mtag[grade]>=8}-->
									<!--{if $thread[displayorder]}-->
<a href="cp.php?ac=thread&op=top&tagid=$thread[tagid]&tid=$thread[tid]&cancel" id="t_$thread[tid]_top" onclick="ajaxmenu(event, this.id, 2000)">取消置顶</a>
									<!--{else}-->
<a href="cp.php?ac=thread&op=top&tagid=$thread[tagid]&tid=$thread[tid]" id="t_$thread[tid]_top" onclick="ajaxmenu(event, this.id, 2000)">置顶</a>
									<!--{/if}-->
									<!--{if $thread[digest]}-->
<a href="cp.php?ac=thread&op=digest&tagid=$thread[tagid]&tid=$thread[tid]&cancel" id="t_$thread[tid]_digest" onclick="ajaxmenu(event, this.id, 2000)">取消精华</a>
									<!--{else}-->
<a href="cp.php?ac=thread&op=digest&tagid=$thread[tagid]&tid=$thread[tid]" id="t_$thread[tid]_digest" onclick="ajaxmenu(event, this.id, 2000)">精华</a>
									<!--{/if}-->
								<!--{/if}--></DD> </DIV>
<DIV class="bbstimebox"><SPAN class=font_gray style="color:#999">发表时间: <!--{date('Y-m-d H:i',$thread[dateline],1)}-->
</SPAN> </DIV></DIV></DIV>
<DIV class="rbbot">
<DIV></DIV></DIV></DIV>

<DIV class="groupbbscontent">
  <!--{if $topic}-->
<p style="padding:5px 0;">
<img src="image/app/topic.gif" align="absmiddle">
<strong>凑个热闹</strong>：<a href="space.php?do=topic&topicid=$topic[topicid]">$topic[subject]</a></p>
<!--{/if}-->

<!--{if !$eventid && $thread[eventid] && $event}-->
<p style="padding:5px 0;"><strong>来自活动</strong>：<a href="space.php?do=event&id=$event[eventid]&view=thread">$event[title]</a></p>
<!--{/if}-->

<p class="detail" id="detail_0"><!--{if $_SGLOBAL['ad']['rightside']}-->
<div style="float: right; padding:5px;"><!--{ad/rightside}--></div>
<!--{/if}-->
$thread[content][message]
<!--{if $thread[content][pic]}--><div><a href="$thread[content][pic]" target="_blank"><img src="$thread[content][pic]" alt="" class="resizeimg" /></a></p><!--{/if}--></div></div>
		<!--{/if}-->
	<div id="click_div">
				<!--{template space_click}-->
			</div>
		<div id="post_ul">
		
			<!--{if $pid}-->
			<div class="notice">
				当前只显示与你操作相关的单个帖子，<a href="space.php?uid=$thread[uid]&do=thread&id=$thread[tid]">点击此处查看全部回帖</a>
			</div>
			<!--{/if}-->

			<!--{loop $list $value}-->
			<!--{template space_post_li}-->
			<!--{/loop}-->
		</div>
		
		<div class="page">$multi</div>
<DIV class="clear"></DIV></DIV>


<DIV class="groupbbshead" style=" border-top:1px #888 dashed">
<DIV class="groupbbstit"><IMG height=11 
src="template/voone/image/title_groupbbsreq.gif" width=153></DIV>
<DIV class="groupbbsbar">
<UL>

</UL></DIV></DIV>


<DIV class="groupbbshead" style="height:230px">

	
		<!--{if $mtag[allowpost]}-->
		
		
		<div class="quickpost" id="postform">
			<form method="post" action="cp.php?ac=thread<!--{if $eventid}-->&eventid=$eventid<!--{/if}-->" class="quickpost" id="quickpostform_{$thread[tid]}" name="quickpostform_{$thread[tid]}">
				<table>
					<tr>
						<td>
							<a href="###" id="quickpost" onclick="showFace(this.id, 'message');return false;"><img src="image/facelist.gif" align="absmiddle" /></a>
							<!--{if $_SGLOBAL['magic']['doodle']}-->
							<a id="a_magic_doodle" href="magic.php?mid=doodle&showid=comment_doodle&target=message" onclick="ajaxmenu(event, this.id, 1)"><img src="image/magic/doodle.small.gif" class="magicicon" />涂鸦板</a>
							<!--{/if}-->
							<br />
							<textarea id="message" name="message" onkeydown="ctrlEnter(event, 'postsubmit_btn');" col="50" rows="6" style="width: 700px; height: 6em;"></textarea>
						</td>
					</tr>
					<tr>
						<td>插入图片</td>
					</tr>
					<tbody id="quickpostimg">
						<tr>
							<td>
								<input type="text" name="pics[]" onfocus="if(this.value == 'http://')this.value='';" onblur="if(this.value=='')this.value='http://'" value="http://" class="t_input" size="55" style="width: 350px" />&nbsp;
								<a href="javascript:;" onclick="insertWebImg(this.previousSibling.previousSibling)">插入</a> &nbsp;
								<a href="javascript:;" onclick="delRow(this, 'quickpostimg')">删除</a>
							</td>
						</tr>
					</tbody>
					<tr>
						<td><a href="javascript:;" onclick="copyRow('quickpostimg')">+增加图片</a> <span class="gray">只支持 .jpg、.gif、.png为结尾的URL地址</span></td>
					</tr>
					<tr>
						<td>
							<input type="hidden" name="tid" value="$thread[tid]" />
							<input type="hidden" name="postsubmit" value="true" />
							<input type="button" id="postsubmit_btn" name="postsubmit_btn" value="回复" class="submit" onclick="ajaxpost('quickpostform_{$thread[tid]}', 'post_add')" />
							<div id="__quickpostform_{$thread[tid]}"></div>
						</td>
					</tr>
				</table>
				<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
			</form>
		</div>
<!--{else}-->
		<div class="c_form">
		<!--{if $eventid}-->
			只有活动成员可以回复活动话题
		<!--{elseif $mtag[grade]==-1}-->
			您现在被群主禁言，不能参与讨论。
		<!--{else}-->
			你还不是该群组正式成员，不能参与讨论。
			<!--{if $mtag[grade]==-9}-->
			<a href="cp.php?ac=mtag&op=join&tagid=$mtag[tagid]" id="_tag_join_$mtag[tagid]" onclick="ajaxmenu(event, this.id)">现在就加入</a>。
			<!--{/if}-->
		<!--{/if}-->
		</div>
		<!--{/if}-->
</DIV>
<DIV>
</DIV></DIV>

<DIV class="groupr">
<!--{if empty($mtag['ismember']) && $mtag['joinperm'] < 2}-->
<DIV class="groupjoin"><a href="cp.php?ac=mtag&op=join&tagid=$mtag[tagid]" id="a_mtag_join_$mtag[tagid]" onclick="ajaxmenu(event, this.id, 99999)"><IMG height=57 alt="" 
src="template/voone/image/button_groupjoin.gif" width=207></A></DIV>

			<!--{elseif $mtag['allowpost']}-->
<DIV id="groupmanageinfo">
<DIV class="rbtop">
<DIV></DIV></DIV>
<DIV class="rbcontent">
<DL>
  <DT><!--{avatar($_SGLOBAL[supe_uid],small)}-->
</DT>
  <DD class="groupmanagename">Hi! <B><a href="space.php?do=home">{$_SN[$_SGLOBAL[supe_uid]]}</a></B> 
  </DD>
  <DD class="groupmanageinfo">我们已经恭候多时了！ </DD></DL></DIV></DIV>
<DIV id="groupmanagebox">
<DIV class="rbcontent">

<li><SPAN><IMG height=13 src="template/voone/image/icon_addfriend.gif" width=13></SPAN><a href="cp.php?ac=thread&tagid=$mtag[tagid]">发起话题</a></li>
	
<!--{if $mtag['grade'] >= 8}-->
<li><SPAN><IMG height=13 src="template/voone/image/icon_addtopic.gif" width=13></SPAN><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=base">群组设置</a></li>
			<!--{/if}-->
			<!--{if $mtag['grade'] >= 8}-->
<li><SPAN><IMG height=13 src="template/voone/image/icon_addmessage.gif" width=13></SPAN><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members">成员管理</a></li>

<li><SPAN><IMG height=13 src="template/voone/image/icon_addlink.gif" width=13></SPAN><a href="admincp.php?ac=thread&&perpage=20&tagid=$mtag[tagid]&searchsubmit=1" target="_blank">话题管理</a></li>
<li><SPAN><IMG height=13 src="template/voone/image/icon_addlink.gif" width=13></SPAN><a href="admincp.php?ac=post&&perpage=20&tagid=$mtag[tagid]&searchsubmit=1">回帖管理</a></li>

		<!--{elseif $mtag['ismember'] && !$mtag['closeapply']}-->
			<li><SPAN><IMG height=13 src="template/voone/image/icon_addlink.gif" width=13></SPAN><a href="cp.php?ac=mtag&op=apply&tagid=$mtag[tagid]" id="a_apply" onclick="ajaxmenu(event, this.id, 99999)">群主申请</a></li>
			<!--{/if}-->
			<!--{if $mtag['allowinvite']}-->
			<li><SPAN><IMG height=13 src="template/voone/image/icon_editmember.gif" width=13></SPAN><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=invite">邀请好友</a></li>
			<!--{/if}-->
			<!--{if $mtag['ismember']}-->
			<li><SPAN><IMG height=13 src="template/voone/image/icon_rewriteinfo.gif" width=13></SPAN><a href="cp.php?ac=mtag&op=out&tagid=$mtag[tagid]" id="a_ignore_top" onclick="ajaxmenu(event, this.id, 99999)">退出群组</a></li>
			<!--{/if}-->
<DIV class="clear"></DIV></DIV>
<DIV class="rbbot">
<DIV></DIV></DIV></DIV>

			<!--{/if}-->
  
</div>
</DIV>

<script type="text/javascript">
	resizeImg('div_post','600');
</script>
<!--{template footer}-->